group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 174. 98.8 Grey
2 2 164. 100. Brown
3 3 169. 79.7 Blue
4 4 181. 95.7 Brown
5 5 168. 69.0 Grey
6 6 176. 89.5 Blue
7 7 172. 78.6 Brown
8 8 165. 96.4 Grey
9 9 168. 83.5 Green
10 10 167. 89.2 Green
# ℹ 990 more rows